const nam='姓名';
const value='张三';
let obj={
    [nam]:value
}


console.log(obj);
